load("@rules_cc//cc:defs.bzl", "cc_library")

package(
    default_visibility = ["//:__subpackages__"],
)

cc_library(
    name = "getopt",
    srcs = [
        "getopt.c",
        "getopt_long.c",
    ],
    hdrs = [
        "getopt.h",
    ],
    includes = ["."],
    target_compatible_with = [
        "@platforms//os:windows",
    ],
)
